package com.daniel.gof.bridge;

/**
 * 详细说明
 *
 * @author Daniel
 * @version V1.0
 * @date 2020/5/15 15:12
 */
public class Consumer {
	public static void main(String[] args) {
		Shape greenCircle = new Circle(5, new GreenPen());
		Shape redRectangle = new Rectangle(2, 3, new RedPen());

		greenCircle.paint();
		redRectangle.paint();

	}
}
